
<div class="content" ng-controller="getsmsCtrl">
    <div class="list-block" style="margin-top:3px;">
        <ul>
            <!-- Text inputs -->
            <li>
                <div class="item-content">
                    <div class="item-media">
                        <i class="icon icon-form-name"></i>
                    </div>
                    <div class="item-inner">
                        <div class="item-input">
                            <input type="number" pattern="\d*" placeholder="请输入11位手机号" oninput="value=value.replace(/[^\d]/g,'')" minlength="11" maxlength="11" ng-model="vm.phone" />
                        </div>
                    </div>
                </div>
            </li>
            <li>
                <div class="item-content">
                    <div class="item-media">
                        <i class="icon icon-form-password"></i>
                    </div>
                    <div class="item-inner">
                        <div class="item-input">
                            <input type="number" pattern="\d*" placeholder="请输入短信验证码" minlength="6" maxlength="6" class="" ng-model="vm.sms" />
                        </div>
                        <div class="col-50">
                            <span ng-if="btn_could_click == true" class="button button-round button-danger" ng-click="getsms();">获取短信验证码</span>
                            <span ng-if="btn_could_click == false" class="button button-round disabled">
                                <span id="spanRemainSeconds"></span>
                                <span>秒后再次获取</span>
                            </span>
                        </div>
                    </div>
                </div>
            </li>
            <li>
                <div class="item-content">
                    <div class="item-media">
                        <i class="icon icon-form-password"></i>
                    </div>
                    <div class="item-inner">
                        <div class="item-input">
                            <input type="text" placeholder="请输入新密码" ng-model="vm.pas" />
                        </div>
                    </div>
                </div>
            </li>
            <!--<li>
                <div class="item-content">
                    <div class="item-media">
                        <i class="icon icon-form-password"></i>
                    </div>
                    <div class="item-inner">
                        <div class="item-input">
                            <input type="text" placeholder="请再次输入密码" ng-model="vm.conpas" />
                        </div>
                    </div>
                </div>
            </li>-->
        </ul>
    </div>
    <div class="content-block">
        <div class="row">
            <div class="col-100">
                <a href="javascript:void(0);" ng-click="submit();" class="button button-big button-fill button-danger">下一步</a>
            </div>
        </div>
    </div>
</div>

<script src="<?=base_url()?>public/app/auth/getsmsCtrl.js?v=10"></script>